<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>简单导航安装向导</title>
<script type="text/javascript" src="./js/jquery-2.0.0.min.js"></script>
<link rel="stylesheet" type="text/css" href="./css/bootstrap.min.css">
<link rel="stylesheet" href="./css/install.css">
</head>
<body>
<div id="nav">
    <div class="inside">
        <p class="name">简单导航安装向导</p>
        <ul class="schedule">
            <li class="number">1</li>
            <li class="word">环境检测</li>
        </ul>
        <ul class="schedule active">
            <li class="number">2</li>
            <li class="word">创建数据</li>
        </ul>
        <ul class="schedule">
            <li class="number">3</li>
            <li class="word">安装完成</li>
        </ul>
    </div>
</div>
<div id="out">
    <div class="inside">
        <div class="box create">
            <form class="form-inline" action="./index.php?c=success" method="post" >
                <h2>数据库信息</h2>
                <div class="one">
                    <label class="control-label">数据库类型</label>
                    <input class="form-control" type="text" name="DB_TYPE" value="mysqli" disabled="disabled">
                </div>
                <div class="one">
                    <label class="control-label"> 数据库服务器</label>
                    <input class="form-control" type="text"  required="required" name="DB_HOST" value="127.0.0.1">
                </div>
                <div class="one">
                    <label class="control-label"> 数据库端口</label>
                    <input class="form-control"  required="required" type="text" name="DB_PORT" value="3306">
                </div>
                <div class="one">
                    <label class="control-label">数据库名</label>
                    <input class="form-control"  required="required" type="text" name="DB_NAME" value="simple_nav_pro">
                    <span class="point-span">无需手动创建，程序自动创建</span>
                </div>
                <div class="one">
                    <label class="control-label">数据库用户名</label>
                    <input class="form-control"  required="required" type="text" name="DB_USER" value="root">
                </div>
                <div class="one">
                    <label class="control-label"> 数据库密码</label>
                    <input class="form-control"  required="required" type="text" name="DB_PWD" value="root">
                </div>
                <p class="agree">
                    <a class="btn btn-primary" href="./index.php?c=test">上一步</a>
                    <input class="btn btn-success" type="submit" value="确认">
                </p>
            </form>
        </div>
    </div>
</div>
</body>
<script>
    if(top.location != self.self.location){  //判断是否存在父窗口
        top.location.reload();
    }
</script>
</html>
